#include "logo.h"

char *thing(void)
{
     int i;
     char nextChar;
     char wordStr[MAXVALUE] ="\0";
     char *word;
     
     printf("welcome to thing\n");
     word =wordStr;
/*     nextChar =getchar();

     while (isspace(nextChar))
     {
           nextChar =getchar();
           printf("nextChar is %c\n",nextChar);
     }
     while ((!isspace(nextChar)) && (nextChar != '+') && (nextChar != '-') &&
           (nextChar != '*') && (nextChar !='/')   )
     {
           printf("nextChar is %c.\n",nextChar);
           word[strlen(word)] =nextChar;
           nextChar =getchar();
     }
     printf("nextChar is %c.\n",nextChar);
     ungetc(nextChar,stdin);*/
     return findWord(getValue());
}
